package com.leo.ibatis.demo.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.leo.ibatis.demo.criteria.BannerdataCriteria;
import com.leo.ibatis.demo.domain.Bannerdata;

public interface BannerdataDao {

	void insert(Bannerdata bannerdata) throws DataAccessException;

	int update(Bannerdata bannerdata) throws DataAccessException;

	int delete(String favcategory) throws DataAccessException;

	Bannerdata select(String favcategory) throws DataAccessException;

	List<Bannerdata> list(BannerdataCriteria bannerdataCriteria) throws DataAccessException;
	
	List<Bannerdata> listOnPage(BannerdataCriteria bannerdataCriteria) throws DataAccessException;
	
	int count(BannerdataCriteria bannerdataCriteria) throws DataAccessException;

}
